#! /bin/bash

echo "scripts path: $(dirname $0)"
cd $(dirname $0);

bt_tracker_list=`curl -s -k https://cdn.jsdelivr.net/gh/ngosang/trackerslist@master/trackers_best.txt|xargs echo|sed 's/ /,/g'`


sed -i "s#^bt-tracker=.*#bt-tracker=${bt_tracker_list}#g" aria2.config;